package com.gzucm.Scholarship.dao;

import com.gzucm.Scholarship.common.base.BaseDao;
import com.gzucm.Scholarship.entity.SystemValue;
import org.springframework.data.jpa.repository.Modifying;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface SystemValueDao extends BaseDao<SystemValue, String> {

    List<SystemValue> findByKind(String kind);

    SystemValue findByKindAndCode(String kind, String code);

    Integer deleteByKindAndCode(String king,String code);

    Integer deleteByKind(String kind);

}
